package com.chainyoung.component_tmtrade.ui.mvp.contract;

import com.chainyoung.common.appcommon.entity.CommonList;
import com.chainyoung.common.mvp.IModel;
import com.chainyoung.common.mvp.IView;
import com.chainyoung.component_tmtrade.bean.MyBanlance;
import com.chainyoung.component_tmtrade.bean.TradeCurrencyItem;

import java.util.TreeMap;

import io.reactivex.Flowable;

public interface TradeCurrencyListContract {
    interface View extends IView {

        void onGetTradeListSuccess(CommonList<TradeCurrencyItem> data);
        void onGetTradeListFailed();

    }

    interface Model extends IModel {
        Flowable<CommonList<TradeCurrencyItem>> getExchangeTradeList(TreeMap<String, Object> map);


    }
}
